package com.bicon.botu.mall.order.processor.fallback;

import com.bicon.botu.core.base.common.Constants;
import com.bicon.botu.core.base.common.entity.BaseResult;
import com.bicon.botu.mall.order.processor.handler.ProductRpc;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public class ProductRpcFallback implements ProductRpc{

    @Override
    public BaseResult<Map<String, Integer>> shelvesTotal() {
        return new BaseResult(Constants.RESPONSE_CODE_404,Constants.RESPONSE_MESSAGE_404);
    }
}
